import request from '@/utils/request'

// 查询扇区流量列表
export function listSectorflows(query) {
  return request({
    url: '/dyn/sectorflows/list',
    method: 'get',
    params: query
  })
}

// 查询扇区流量详细
export function getSectorflows(secflowid) {
  return request({
    url: '/dyn/sectorflows/' + secflowid,
    method: 'get'
  })
}

// 新增扇区流量
export function addSectorflows(data) {
  return request({
    url: '/dyn/sectorflows',
    method: 'post',
    data: data
  })
}

// 修改扇区流量
export function updateSectorflows(data) {
  return request({
    url: '/dyn/sectorflows',
    method: 'put',
    data: data
  })
}

// 删除扇区流量
export function delSectorflows(secflowid) {
  return request({
    url: '/dyn/sectorflows/' + secflowid,
    method: 'delete'
  })
}
